package com.zyz.system.service.question;

import com.zyz.common.core.model.TableDataInfo;
import com.zyz.system.model.question.dto.QuestionAddDTO;
import com.zyz.system.model.question.dto.QuestionEditDTO;
import com.zyz.system.model.question.dto.QuestionQueryDTO;
import com.zyz.system.model.question.vo.QuestionDetailVO;

public interface IQuestionService {
    TableDataInfo list(QuestionQueryDTO queryDTO);

    void add(QuestionAddDTO queryAddDTO);

    QuestionDetailVO detail(Long questionId);

    void edit(QuestionEditDTO questionEditDTO);

    void delete(Long questionId);
}
